<template>
  <view class="load-more" @click="onClick">{{ loadtext }}</view>
</template>

<script>
export default {
  props: {
    loadtext: String,
  },
  methods: {
    onClick() {
      this.$emit("clickLoadMore", {
        detail: {
          loadtext: this.loadtext,
        },
      });
    },
  },
};
</script>

<style scoped>
.load-more {
  text-align: center;
  color: #aaaaaa;
  padding: 15upx;
}
</style>
